package com.jic.point.api;

import com.jic.point.common.Result;
import com.jic.point.rest.request.Rights;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import java.math.BigDecimal;

@FeignClient(name = "jic-point", path = "/api/point/userPoint")

public interface UserPointApi {

    /**
     *
     *
     * @description: 根据用户id获取用户的积分
     * @return: 
     * @author: fengrui
     * @time: 2020/12/09 13:11
     */  
    @PostMapping("/point")
    @ApiOperation(value = "获取用户积分")
    BigDecimal queryUserPointById(Long id);
}
